package com.xcc.netty.socket.bio;

import sun.net.www.http.HttpClient;

import java.io.InputStream;
import java.net.Socket;
import java.net.URL;

/**
 * @author frosty
 * @description
 * @date 2019-12-30 30:14:54
 */


public class ServerThread  implements  Runnable{
     private Socket socket;

    @Override
    public void run() {

    }

    public static void main(String[] args) throws Exception {
    HttpClient httpClient=new HttpClient(new URL("http://www.baidu.com"),"get",1);
        final InputStream inputStream = httpClient.getInputStream();
    }

}
